package oa.hleast.xswl.service.store;

import com.baomidou.mybatisplus.extension.service.IService;
import oa.hleast.xswl.pojo.domain.StorePayInfo;
import oa.hleast.xswl.pojo.form.store.StorePayInfoForm;
import oa.hleast.xswl.pojo.vo.store.StorePayInfoConfig;
import oa.hleast.xswl.pojo.vo.store.StorePayInfoVo;

/**
 * @author: 302
 * @date: 2021-10-22 09:32:39
 * @description: 商家支付信息表(StorePayInfo)接口
 */
public interface StorePayInfoService extends IService<StorePayInfo> {

    StorePayInfoVo getStorePayVoByStoreId(Long id);

    StorePayInfo getStorePayByStoreId(Long id);


    boolean updateStorePayInfo(StorePayInfoForm form);

    /**
     * 获取商家支付配置
     *
     * @param storeId 商家ID
     * @return 商家支付配置
     */
    StorePayInfoConfig getStorePayConfig(Long storeId);
}
